
				<div class="box span12">
					<div class="box-header" data-original-title>
						<h2><i class="halflings-icon white edit"></i><span class="break"></span>权限添加</h2>
						<div class="box-icon">
							<a href="#" class="btn-setting"><i class="halflings-icon white wrench"></i></a>
							<a href="#" class="btn-minimize"><i class="halflings-icon white chevron-up"></i></a>
							<a href="#" class="btn-close"><i class="halflings-icon white remove"></i></a>
						</div>
					</div>
					<div class="box-content">
						<form class="form-horizontal" method="post" action="index.php?c=power&a=add&admin=1">
						  <fieldset>
							<div class="control-group">
							  <label class="control-label" for="typeahead">权限名称</label>
							  <div class="controls">
								<input type="text" name="name" class="span6 typeahead username" id="typeahead"  data-provide="typeahead" data-items="4">
							  </div>
							</div>
              <div class="control-group">
                <label class="control-label" for="typeahead">权限规则</label>
                <div class="controls">
                <input type="text" name="rule" class="span6 typeahead username" id="typeahead"  data-provide="typeahead" data-items="4">
                </div>
              </div>

              <div class="control-group">
                <label for="typeahead" class="control-label">权限模块</label>
                  <div class="controls sel_list">
                      <select aria-controls="DataTables_Table_0" name="pid" size="1" class="sel">
                          <option value="0" selected="selected">顶级分类</option>
                          <?php foreach($data as $v){?>
                          <option value="<?php echo $v['id']?>"><?php echo $v['name']?></option>
                          <?php }?>
                      </select>
                  </div>
              </div>
							<div class="form-actions">
							  <button type="submit" class="btn btn-primary">提交</button>
							  <button type="reset" class="btn">清空</button>
							</div>
						  </fieldset>
						</form>

					</div>
				</div><!--/span-->
                <script src="resources/admin/js/jquery-1.9.1.min.js"></script>
                <script  type="text/javascript">
                </script>

